package com.deyuanyun.pic.pipe.mapper;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;




public interface DyyPipeSegmentMapper {
	
	int delGis(Map data);
	int delSegmentGis(Map data);
	int delInfo(Map map);
	Map<String, Object> findInfo(Map map);

	Page<HashMap<String, Object>> findPage(HashMap map);

	int insertPosit(Map<String, Object> bean);
	int insertSegmentPosit(Map<String, Object> bean);
	
	int insertData(Map<String, Object> bean);
	
	List<LinkedHashMap<String, Object>> exportExcel(Map map);
	int checkGisNum(@Param("id") String id);
	public List<HashMap<String,Object>> findGis(@Param("lineId") String lineId);
	String findlineAbridge(@Param("id") String id);
	
	Map<String,Object> findSegmentById(@Param("lineId") String lineId);
}